package club.xinghe.entity;

/**
 * 学生实体类
 */

public class Student {
    private int sId;//学号
    private String sName;//名字
    private String sPwd;//学生密码
    private Class cl;//所在班级对象
    private Zy zy;//所属专业对象
    private Yx yx;//院系
    private int gid;//所属年级id(新增)

    //

    public Student() {
    }

    public Student(int gid) {
        this.gid = gid;
    }

    public Student(Yx yx, int gid) {
        this.yx = yx;
        this.gid = gid;
    }

    public Student(Zy zy, Yx yx, int gid) {
        this.zy = zy;
        this.yx = yx;
        this.gid = gid;
    }

    public Student(int sId, String sPwd) {
        this.sId = sId;
        this.sPwd = sPwd;
    }

    public Student(int sId, String sName, String sPwd, Class cl, Zy zy, Yx yx, int gid) {
        this.sId = sId;
        this.sName = sName;
        this.sPwd = sPwd;
        this.cl = cl;
        this.zy = zy;
        this.yx = yx;
        this.gid = gid;
    }

    //


    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getsPwd() {
        return sPwd;
    }

    public void setsPwd(String sPwd) {
        this.sPwd = sPwd;
    }

    public Class getCl() {
        return cl;
    }

    public void setCl(Class cl) {
        this.cl = cl;
    }

    public Zy getZy() {
        return zy;
    }

    public void setZy(Zy zy) {
        this.zy = zy;
    }

    public Yx getYx() {
        return yx;
    }

    public void setYx(Yx yx) {
        this.yx = yx;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }
}
